#!/user/bin/env node


console.log('i am ipc-pid:',process.pid);

process.send(process.pid);//子进程向父进程发送pid
process.on('message',(msg)=>{
  console.log('child msg:',msg);
})


